﻿@{
    ViewBag.Title = "PostServer";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Post Server</h2>
<br />
<input id="btnSubmit" type="button" value="submit" />

<br/>
<br />
<label id="label1"></label>
<br/>
<br />

<div ng-app>
    <table ng-controller='PersonController' border="1" class="normal_table" style="width: 50%">
        <tr ng-repeat="person in persons">
            <td style="width: 10%">{{$index + 1}}</td>
            <td>{{person.Name}}</td>
            <td style="width: 30%">{{person.Age}}</td>
        </tr>
    </table>
</div>

<script src="/JS/Controllers/PersonController.js" type="text/javascript"></script>
